
package org.demoiselle.sample.business;

import br.gov.frameworkdemoiselle.stereotype.BusinessController;
import br.gov.frameworkdemoiselle.template.DelegateCrud;
import org.demoiselle.sample.domain.*;
import java.util.*;
import javax.faces.model.*;
import org.demoiselle.sample.persistence.AmbulanciaDAO;

// To remove unused imports press: Ctrl+Shift+o

@BusinessController
public class AmbulanciaBC extends DelegateCrud<Ambulancia, Long, AmbulanciaDAO> {
	private static final long serialVersionUID = 1L;
	
	
	public List<SelectItem> getTipo() {
		List<SelectItem> varTipo = new ArrayList<SelectItem>();
		for (Tipo eachTipo : Tipo.values()) {
			varTipo.add(new SelectItem(eachTipo));
		}
		return varTipo;
	}
	
}
